if (!this.getItem('frmOper').isValid()) {
    return;
}

var pms = this.getItem('frmOper').getValues();
pms.status = 'U';

var me = this;
Ext.Msg.show({
    title: button.getText(),
    msg: T.msg.are_you_sure_to_add_data,
    icon: Ext.Msg.QUESTION,
    buttons: Ext.Msg.YESNO,
    fn: function(btnId) {
        if ('yes' == btnId) {
            button.setDisabled(true);

            YX.ZbusRpc.request({
                module: 'SresSaveSpotCheckService',
                params: pms,
                showSuccess: true,
                callback: function() {
                    button.setDisabled(false);
                },
                success: function() {
                    me.loadSpotCheckStore();
                }
            })
        }
    }
});